import request from "../utils/request.js";

// 优品好课
const excellentlist = '/api/excellent-courses/list'
// 优品好课详情
const excellentdetails = '/api/excellent-courses/'


// 优品好课
export function getExcellentlist(data) {
  return request({
    url: excellentlist,
    method: 'get',
    data
  })
}
// 优品好课详情
export function getExcellentdetails(data) {
  return request({
    url: `/api/excellent-courses/${data.id}/details`,
    method: 'get',
    data,
  })
}